<?php
/* @var $this RegistrationController */
/* @var $data Registration */
?>

<div class="view">


	<p><b><?php echo CHtml::encode($data->getAttributeLabel('type')); ?>:</b>
	<?php echo CHtml::encode($data->type == 'active' ? 'Aktív' : 'Passzív'); ?>
	</p>

	<p><b><?php echo 'Név'; ?>:</b>
	<?php echo CHtml::encode($data->lastname .' ' .$data->firstname); ?>
	</p>

	<p><b><?php echo CHtml::encode($data->getAttributeLabel('email')); ?>:</b>
	<?php echo CHtml::encode($data->email); ?>
	</p>

	<p><b><?php echo CHtml::encode($data->getAttributeLabel('phone')); ?>:</b>
	<?php echo CHtml::encode($data->phone); ?>
	</p>

	<p><b>Születés:</b>
	<?php echo date('Y. m. d.', CDateTimeParser::parse($data->birthDate, 'yyyy-MM-dd HH:mm:ss'));?>, <?php echo CHtml::encode($data->birthPlace);?>
	</p>

	<p><b><?php echo CHtml::encode($data->getAttributeLabel('studies')); ?>:</b>
	<?php echo CHtml::encode($data->studies); ?>
	</p>

	<p><b><?php echo CHtml::encode($data->getAttributeLabel('musics')); ?>:</b>
	<?php echo CHtml::encode($data->musics); ?>
	</p>

	<p><b><?php echo CHtml::encode($data->getAttributeLabel('results')); ?>:</b>
	<?php echo CHtml::encode($data->results); ?>
	</p>

	<p><b><?php echo CHtml::encode($data->getAttributeLabel('created')); ?>:</b>
	<?php echo date('Y. m. d. H:i:s', CDateTimeParser::parse($data->created, 'yyyy-MM-dd HH:mm:ss'));?>
	</p>

	<p><b><?php echo CHtml::encode($data->getAttributeLabel('valid')); ?>:</b>
	<?php echo CHtml::encode($data->valid ? 'Igen' : 'Nem'); ?>
	</p>

	<p><b>Aktivált:</b>
	<?php echo CHtml::encode(empty($data->activationCode) ? 'nem' : 'igen'); ?>
	</p>

	<p><b>Ajánlás:</b>
	<?php echo CHtml::link($data->recommendation, $data->fileUrl); ?>
	</p>


</div>